<?php



Route::get('test',     'IndexController@test');
Route::get('login',    'LoginController@login');
Route::post('login-do','LoginController@loginDo');
Route::get('logout',   'LoginController@logOut');
Route::middleware('checkAdmin')->group(function(){
	Route::resource('items',            'ItemController');
	Route::get('itemfees/export',		'ItemFeeController@export');
	Route::get('itemfees/change-status','ItemFeeController@changeStatus');
	Route::resource('itemfees',         'ItemFeeController');
	Route::resource('admins',           'AdminController');
	Route::get('/',        'IndexController@index');
});




